// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import axios from 'axios';

import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import DataTables from 'vue-data-tables'
import uploader from 'vue-simple-uploader';
import VueSlider from 'vue-slider-component'


Vue.use(ElementUI)
Vue.use(DataTables);
Vue.use(uploader)
Vue.component('VueSlider', VueSlider)

import 'element-ui/lib/theme-chalk/index.css'
import './assets/css/pdfxm.css';
import './assets/css/xc.css'
import 'lib-flexible/flexible'
import 'vue-slider-component/theme/default.css'

Vue.config.productionTip = false
Vue.prototype.$axios = axios;
Vue.prototype.$http= axios
Vue.prototype.bus = new Vue;
/* eslint-disable no-new */
Vue.prototype.bus = new Vue({
  el: '#app',
  router,
  axios,
  components: { App},
  template: '<App/>',
})
